package com.cxt.service;

//import com.baomidou.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cxt.entity.DriverInfo;
import com.cxt.entity.StudentInfo;
import com.cxt.entity.User;

import java.util.List;

/**
 * <p>
 * 用户信息表 服务类
 * </p>
 *
 * @author baomidou
 * @since 2025-02-27
 */
public interface IUserService extends IService<User> {

    boolean register(User user);

    User login(User user);

    boolean bindStudentInfo(StudentInfo studentInfo);

    StudentInfo getStudentInfo();

    boolean updateStudentInfo(StudentInfo studentInfo);

    boolean addDriverInfo(DriverInfo driverInfo);

    Integer getDriverInfoStatus();

    boolean updateDriverInfo(DriverInfo driverInfo);

    DriverInfo getDriverInfo();

    List<StudentInfo> getAllStudent();
}
